package com.kaizeli.website.config;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * JPA配置类
 * 用于自动建表和更新表结构
 */
@Configuration
@EntityScan(basePackages = "com.kaizeli.website.entity")
@EnableJpaRepositories(basePackages = "com.kaizeli.website.repository")
public class JpaConfig {
    
}
